package com.yb.blog.service.impl;

import com.yb.blog.domain.NavMenu;
import com.yb.blog.mapper.NavMenuMapper;
import com.yb.blog.service.NavMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NavMenuServiceImpl implements NavMenuService {

    @Autowired
    private NavMenuMapper navMenuMapper;


    @Override
    public List<NavMenu> getNavMenuList() {
        return navMenuMapper.navMenuList();
    }
}
